
import React, { Component } from 'react';
import SonA from './SonA';
import SonB from './SonB';

export default class SonToParent extends Component {

  render() {
    return (
      <div>
        <h1>兄弟之间传值(第三方模块：PubSub)</h1>
        <hr />
        <SonA />
        <hr/>
        <SonB />
      </div>
    )
  }
}